<?php
class MethodProxy {

	var $className;
	var $methodName;
	
	function MethodProxy($className, $methodName) {
		$this->className = $className;
		$this->methodName = $methodName;
	}
	
	public function getClassName() {
		return $this->className;
	}
	
	function call($parameters) {
		return call_user_func_array(array($this->className, $this->methodName), $parameters);
	}
}
?>